let express = require("express")
let router = express.Router()
const User = require("./routes/user")
const Upload = require("./routes/upload")

//首页
router.get('/',(req,res)=>{
    res.end("sucess")
})
//用户相关
router.post('/user/login',User.login)
router.get('/user/register',User.register)
router.post('/upload/chunks',Upload.chunks)


module.exports = router
